package com.fs.groupSeven.service;

import com.fs.groupSeven.pojo.College;
import com.fs.groupSeven.pojo.Subject;
import com.fs.groupSeven.pojo.Teacher;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @description:
 * @author： mjx
 * @createDate: 2020/10/9
 * @version: 1.0
 */
public interface TeacherService {
    PageInfo<Teacher> getTeachersByPage(Integer currentPage, Integer pageSize);
    Teacher getOneByTeacherId(Integer teacherId);
    List<College> getCollegelist();
    boolean modifyOneTeacher(Teacher teacher);
    boolean removeOneTeacher(Teacher teacher);
    boolean addOneTeacher(Teacher teacher);
    PageInfo<Teacher> getListByPageAndTeacherName(Integer currentPage, Integer pageSize,String teacherName);
}
